package org.wu.framework.web.solon;

import org.noear.solon.annotation.Alias;
import org.noear.solon.annotation.Controller;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Controller
@Inherited
public @interface EasyController {


    /**
     * Alias for {@link Controller#name}.
     */
    @Alias
    String name() default "";

    /**
     * Alias for {@link Controller#value}.
     */
    @Alias("path")
    String[] value() default {};

    /**
     * Alias for {@link Controller#path}.
     */
    @Alias( "value")
    String[] path() default {};


}
